package com.waiting.string;

/**
 * @author bjweitingting
 * @description
 * @date 2018/9/4
 **/
public class StringBuilderMain {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
//        System.out.println(sb.length());
//        sb.deleteCharAt(sb.length() - 1);
//        System.out.println(sb.toString());
        String content = "{new:{'caseid':'recordid'}}".replace("recordid", "123");
        System.out.println(content);
    }
}
